package weaver.workflow.webservices;

public class WorkflowRequestTableRecord  {
	private Integer recordOrder;
	private ArrayOfWorkflowRequestTableField workflowRequestTableFields;

	public WorkflowRequestTableRecord() {
	}

	public Integer getRecordOrder() {
		return this.recordOrder;
	}

	public void setRecordOrder(Integer recordOrder) {
		this.recordOrder = recordOrder;
	}

	public ArrayOfWorkflowRequestTableField getWorkflowRequestTableFields() {
		return this.workflowRequestTableFields;
	}

	public void setWorkflowRequestTableFields(ArrayOfWorkflowRequestTableField workflowRequestTableFields) {
		this.workflowRequestTableFields = workflowRequestTableFields;
	}

	private Object __equalsCalc = null;
	public synchronized boolean equals(Object obj) {
		if (!(obj instanceof WorkflowRequestTableRecord)) return false;
		WorkflowRequestTableRecord other = (WorkflowRequestTableRecord) obj;
		if (obj == null) return false;
		if (this == obj) return true;
		if (__equalsCalc != null) {
			return (__equalsCalc == obj);
		}
		__equalsCalc = obj;
		boolean _equals;
		_equals = true && 
			((this.recordOrder==null && other.getRecordOrder()==null) || 
			 (this.recordOrder!=null &&
			  this.recordOrder.equals(other.getRecordOrder()))) &&
			((this.workflowRequestTableFields==null && other.getWorkflowRequestTableFields()==null) || 
			 (this.workflowRequestTableFields!=null &&
			  this.workflowRequestTableFields.equals(other.getWorkflowRequestTableFields())));
		__equalsCalc = null;
		return _equals;
	}

	private boolean __hashCodeCalc = false;
	public synchronized int hashCode() {
		if (__hashCodeCalc) {
			return 0;
		}
		__hashCodeCalc = true;
		int _hashCode = 1;
		if (getRecordOrder() != null) {
			_hashCode += getRecordOrder().hashCode();
		}
		if (getWorkflowRequestTableFields() != null) {
			_hashCode += getWorkflowRequestTableFields().hashCode();
		}
		__hashCodeCalc = false;
		return _hashCode;
	}

}
